<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../js/bootstarp-3.3.7/css/bootstrap.min.css" />
		<script src="../js/jquery/jquery-3.2.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/bootstarp-3.3.7/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="../js/bootstarp-table-1.11.1/bootstrap-table.min.css" />
		<script type="text/javascript" charset="utf-8" src="../js/bootstarp-table-1.11.1/bootstrap-table.min.js"></script>
		<script src="../js/bootstarp-table-1.11.1/bootstrap-table-zh-CN.min.js" type="text/javascript" charset="utf-8"></script>

		<script src="../assets/layui-v2.4.5/layui/layui.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="../assets/layui-v2.4.5/layui/css/layui.css" />

		<style type="text/css">
			.p {
				font-family: "微软雅黑";
				font-weight: bold;
			}
		</style>
		<script>
			$(function() { //, headers: { 'x-requested-with': 'XMLHttpRequest' }
				$.ajaxSetup({
					crossDomain: true,
					xhrFields: {
						withCredentials: true
					}
				});
			});
		</script>

		<script type="text/javascript">
			function test(data) {
				alert(data.key_id)
				//				alert(dddd)
				$.ajax({
					url: 'https://pay.ygkpay.com/api/api.php?action=query&key_id=' + data.key_id + '&key_token=c1055a624753896795008bcd457c9b91f83f0e1adf5fd9917285544df013ddb3&out_trade_no=' + data.out_trade_no,
					async: true,
					dataType: "jsonp",
					type: 'get',
					success: function(data) {
						if(data.if_success == 1) {
							alert("支付成功！")
						}
					}
				})
			}

			//查询
			$(function() {

				$("#btn1").click(function() {
					$("#table1").bootstrapTable("refresh");

				})

				$("#topay").click(function() {

					//					alert()
					if($("#money").prop("checked") == true) {
						//						alert($("#money").val())
						$("#xianjin").modal("show");
						$("#moneyys").html("")
						$("#zhaoling").html("")
						var money = $("#gopay").html();
						$("#moneyys").html(money)
//                      $("#tuikuan_money").val(money);
						$("#shishou").blur(function() {
							if(parseInt($("#shishou").val()) >= money) {
								//alert($("#shishou").val()+",,,,"+money)
								$("#zhaoling").html($("#shishou").val() - money)
							} else if(parseInt($("#shishou").val()) < money) {
								//alert($("#shishou").val()+",,,,"+money)
								alert("支付额度不足，支付失败！");
							}

						})

						$("#jiezhangpay").click(function() {
							if($("#shishou").val()==null||parseInt($("#shishou").val())<money){
								alert("金额不足！");
								return;
							}
							var order_code = getCaseCode(); 
							$.ajax({
								type: "post",
								url: "http://localhost:8091/pay/goadd",
								data:"id="+$("#ids").val()+"&money="+money+"&registration_id="+$("#regis_id").val()+"&patient_id="+$("#pa_id").val()+"&history_id="+$("#history_id").val()+"&order_code="+order_code,
								success: function(data){ 
									if(data.msg=='true'){
										alert("支付成功！！")
										$("#xianjin").modal("hide");
										$("#myModal").modal("hide");
										$("#table1").bootstrapTable("refresh");
									    $("#ids").val("")
									window.location.href = "sffy.html"
									}else{
										alert("支付失败！");
										$("#xianjin").modal("hide");
										$("#myModal").Model("hide");
									}
									
								}
							});
						})
					} else if($("#alipay").prop("checked") == true) {
						var order_code = getCaseCode();
						$("#erweima").modal("show");
					    console.log($("#gopay").html())
					    var moneys = $("#gopay").html();
//						var order_code = $("#order_code").html()
                        $("#weixin").click(function(){
//                      	console.log(money);
                        	layer.confirm("是否到账？",function(index){
                        	$.ajax({
							type: "post",
							url: "http://localhost:8091/pay/gopay",
							data:"id="+$("#ids").val()+"&money="+moneys+"&registration_id="+$("#regis_id").val()+"&patient_id="+$("#pa_id").val()+"&history_id="+$("#history_id").val()+"&order_code="+order_code,
							success: function(data) {
								if(data.msg=='true'){
									alert("支付成功！")
									$("#erweima").modal("hide");
									$("#myModal").modal("hide");
									$("#table1").bootstrapTable("refresh");
									$("#ids").val("");
								}else{
									alert("支付失败！")
									$("#erweima").modal("hide");
									$("#myModal").modal("hide");
								}
							}
						});
                        })
                        })
					}
				})
				layui.use(['form', 'layedit', 'laydate', 'element'], function() {
					var form = layui.form,
						layer = layui.layer,
						layedit = layui.layedit,
						laydate = layui.laydate;

				});

							$("#table1").bootstrapTable({
								type: "post", //请求方式（*）
								url: "http://localhost:8091/sffy/getall", //请求后台的URL（*）
								pagination: true, //是否显示分页（*）
								pageSize: 5,
								pageNumber: 1,
								queryParams: queryParams, //传递参数（*）
								columns: [{
									field: "id",
									title: "序号",
									align: 'center',
									valign: 'middle',
								}, {
									field: "case_code",
									title: "门诊编号",
									align: 'center',
									valign: 'middle',
								}, {
									field: "name",
									title: "患者姓名",
									align: 'center',
									valign: 'middle',
								}, {
									field: "sex",
									title: "性别",
									align: 'center',
									valign: 'middle',
								}, {
									field: "birthday",
									title: "年龄",
									align: 'center',
									valign: 'middle',
								}, {
									field: "mobile",
									title: "手机号",
									align: 'center',
									valign: 'middle',
								}, {
									field: "true_name",
									title: "医生姓名",
									align: 'center',
									valign: 'middle',
								}, {
									field: "addtime",
									title: "就诊时间",
									align: 'center',
									valign: 'middle',
								}, {
									field: 'status',
									title: '状态',
									align: 'center',
									valign: 'middle',
								}, {
									field: "all_amount",
									align: 'center',
									title: "金额",
									valign: 'middle',
								}, {
									title: "操作",
									align: 'center',
									valign: 'middle',
									formatter: function(value, row, index) {
										if(row.status == "未支付") {
											if(row.amount == 0) {
												var u = '<button type="button" class="btn btn-primary" data-toggle="modal"  onclick="GoFayaoBy0()" >收费</button>';
												return u
											} else {
												var u = '<button type="button" class="btn btn-primary" data-toggle="modal" onclick="Gopay(' + row.id + ','+row.registration_id+','+row.patient_id+','+row.history_id+')" data-target="#myModal">收费</button>';
												return u
											}
										}  else if(row.status == "已支付") {
											var u = '<button type="button" class="btn btn-primary"  onclick="GoFayao(' + row.id + ')" data-target="#myModal">发药</button><button type="button" class="btn btn-primary" data-toggle="modal" onclick="GoTuikuan(' + row.id + ',' + row.all_amount + ','+row.pkg_id+')" >退款</button>';
											return u
										} else if(row.status == "已退款"){
											return "<button class='btn' type='button' disabled='disabled'>已退款</button>";
										}else if(row.status == "完成交易"){
											return "<button class='btn' type='button' disabled='disabled'>完成交易</button>";
										}
									}
								}]
							})
//						}
//					})
				});

//			})

			//模糊查询
			function queryParams(params) {
				return {
					"name": $("#name_mobile").val(),
					"status": $("#startus").val()
				}
			}
			
			
			function getCaseCode() {
				var code = new Date();
				var year = code.getFullYear();
				var mon = code.getMonth();
				var day = code.getDay();
				var hour = code.getHours();
				var min = code.getMinutes();
				var secon = code.getSeconds();
				var ms = code.getMilliseconds();
				var caseCode = year + "" + mon + "" + day + "" + hour + "" + min + "" + secon + "" + ms
				return caseCode;
			}

			//查询处方信息
			function queryOne(row) {
				$("#m1").modal("show")
				var now = nowtime();
				//             alert(now)
				$("#title1").html(row.name + "--" + now + " [详情]")

				$("#t2").bootstrapTable("destroy")
				$("#t2").bootstrapTable({

					url: "http://127.0.0.1:8099/sffy/getAllLabel?order_id=" + row.orderid,
					pagination: true,
					pageSize: 3,
					columns: [{
						field: 'xh',
						title: '序号',
						align: 'center'
					}, {
						field: 'goods_name',
						title: '药品名',
						align: 'center'
					}, {
						field: 'single',
						title: '单剂量（g/条）',
						align: 'center',
						formatter: function(value, row, index) {
							return '<div align="center"><input type="text"  class="form-control number" style="width:60px;text-align:center;" value="' + value + '" disabled="disabled"></div>'
						}
					}, {
						field: 'price',
						title: '单价（元）',
						align: 'center'
					}, {
						field: 'amount',
						title: '金额（元）',
						align: 'center'
					}, {
						field: 'tips',
						title: '特殊要求',
						align: 'center',
						formatter: function(value, row, index) {
							return '<div align="center"><input type="text"  class="form-control number" style="width:85px;text-align:center;" value="' + value + '" placeholder="特殊要求" disabled="disabled"></div>'
						}
					}]

				})

				//得到医生的建议和用药要求
				$.ajax({
					type: "get",
					url: "http://127.0.0.1:8099/sffy/getAllLabel?order_id=" + row.orderid,
					success: function(data) {
						$("#use_tips").val(data[0].use_tips)
						$("#memo").val(data[0].memo)
					}
				});

			}
			//小于0不能操作
			function GoFayaoBy0() {
				alert("金额不能小于0")

			}

			//查询交易信息
			function getStatus(row) {
				$("#m2").modal("show")
				var now = nowtime();
				//				             alert(now)
				$("#title2").html(row.name + "--" + now + " [交易详情]")
				$("#chuf").empty();
				$("#jine").html(row.amount);
				$("#zt").html(row.startus);
				$.ajax({
					type: "get",
					url: "http://127.0.0.1:8099/sffy/getTransaction",
					data: "id=" + row.id,
					success: function(data) {
						$("#sj").html(data[0].addtime)

						for(var i = 0; i < data.length; i++) {
							$("#chuf").append('<li class="layui-timeline-item"><i class="layui-icon layui-timeline-axis"></i><div class="layui-timeline-content layui-text"><div class="layui-timeline-title"><font class="p">' + data[i].label + '</font><span style="float: right;  margin-right: 100px;"><i class="glyphicon glyphicon-yen"></i> <font>' + data[i].all_amount + '</font></span></div></div></li>')
							$("#chuf").append('<li class="layui-timeline-item"><i class="layui-icon layui-timeline-axis"></i><div class="layui-timeline-content layui-text"><div class="layui-timeline-title"><font class="p">交易金额</font><span style="float: right;  margin-right: 100px;"><i class="glyphicon glyphicon-yen"></i><font>' + data[i].all_amount + '</font></span></div></div></li>')
						}
					}
				});

			}

			//发药
			function GoFayao(id) {
				console.log(id);
				$.ajax({
					type: "post",
					url: "http://localhost:8091/pay/fayao?id=" + id,
					success: function(data) {
						if(data.msg == 'true') {
							alert("发药成功")
							window.location.href = "sffy.html"
						} else {
							alert("发药失败")
						}

					}
				});

			}

			//退款
			function GoTuikuan(id,money,pkg_id) {
				console.log(id,money,pkg_id);
				layer.confirm("确认退款？",function(index){
					$.ajax({
					type: "post",
					url: "http://localhost:8091/pay/tuikuan?id=" + id+"&money="+money+"&pkg_id="+pkg_id,
					success: function(data) {
						if(data.msg=='true'){
							alert("退款成功");
//							layer.confirm("hide")
							$("#table1").bootstrapTable("refresh");
						}else{
							alert("退款失败！");
						}
					}
				});
				})
			}

			//结账
			function Gopay(id,registration_id,patient_id,history_id) {
				$("#chufang").html("");
				$("#ids").val(id);
				$("#regis_id").val(registration_id);
				$("#pa_id").val(patient_id);
				$("#history_id").val(history_id);
				console.log(id);
				console.log(registration_id);
				console.log(patient_id);
				console.log(history_id);
				$.ajax({
					type: "post",
					url: "http://localhost:8091/pay/sf?id=" + id,
					success: function(data) {
						$("#myModalLabel").html(data[0].name + " --" + data[0].addtime + " --收费");
						$("#case_code").html(data[0].case_code);
						var sum = data[0].all_amount;
						$("#chufang").append('<li class="layui-timeline-item"><i class="layui-icon layui-timeline-axis"></i><div class="layui-timeline-content layui-text"><div class="layui-timeline-title"><font class="p">' + data[0].label + '</font><span style="float: right;  margin-right: 100px;"><i class="glyphicon glyphicon-yen"></i><font >' + (data[0].all_amount).toFixed(2) + '</font>(元)</span></div></div></li>')
						$("#yinshou").html(sum.toFixed(2));
						$("#gopay").html(sum);

					}
				});

			}

			function nowtime() {

				var time = new Date();
				var year = time.getFullYear() + "-";
				var mounth = time.getMonth() + "-";
				var day = time.getDay() + " ";
				var hours = time.getHours();
				var minutes = time.getMinutes();

				if(hours < 10) {
					hours = "0" + time.getHours() + ":";
				} else {
					hours = time.getHours() + ":";
				}
				if(minutes < 10) {
					minutes = "0" + time.getMinutes()
				}
				var now = year + mounth + day + hours + minutes
				return now;
			}
		</script>

	</head>

	<body>
<!--<input type="hidden" name="tuikuan_money" id="tuikuan_money" />-->
		<table align="center">
			<tr>
			<td>
			<div align="center">
			<form class="form-inline">
				<div class="form-group">
					<br />
					<label for="exampleInputEmail2">关键字：</label>
					<input type="text" class="form-control" id="name_mobile"  placeholder="请输入患者姓名">	
					<label for="exampleInputEmail2">状态：</label>	
						<select class="form-control" id="startus">
						    <option value="">请选择状态</option>
						    <option value="1">已支付</option>
							<option value="0">未支付</option>
							<option value="4">已退款</option>
					</select>
					<button type="button" class="btn btn-primary glyphicon glyphicon-search"id="btn1" >查询</button>
				</div>
			</form>
		</div>
			</td>	
			</tr>
			<tr>
			<td>
				<table align="center" width="1000" bgcolor="gray">
					<tr align="center" >
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<td>
							 
 						<table id="table1" align="center" bgcolor="#DDDDDD"></table>
 							
						</td>
					</tr>
				</table>
			</td>	
			</tr>
		</table>

		<div class="modal fade" tabindex="-1" id="moda" role="dialog">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span><tton>
						<h5 class="modal-title" id="title"></h5>
					</div>
					<div class="modal-body">
						<p>One fine body&hellip;</p>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">Close<tton>
						<button type="button" class="btn btn-primary">Save changes<tton>
					</div>
				</div>
				<!-- /.modal-content -->
			</div>
			<!-- /.modal-dialog -->
		</div>
		
		<input type="hidden"  id="ids"/>
		<input type="hidden"  id="regis_id"/>
		<input type="hidden"  id="pa_id"/>
		<input type="hidden"  id="history_id"/>
		<!-- Modal周 -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
     <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
						<h4 class="modal-title" id="myModalLabel"></h4>
					</div>
					<div class="modal-body">

						<div id="code">

							<div class="layui-col-md-offset2">
								<div class="grid-demo">

									<ul class="layui-timeline">

										<li class="layui-timeline-item">
											<i class="layui-icon layui-timeline-axis"></i>
											<div class="layui-timeline-content layui-text">
												<div class="layui-timeline-title">
													<font class="p">收费信息：</font>

													<span style="float: right; margin-right: 100px;">
														<font>门诊编号:</font>
														<font id="case_code"></font>
													</span>
												</div>

											</div>
										</li>
										<font id="chufang">

										</font>
										<li class="layui-timeline-item">
											<i class="layui-icon layui-timeline-axis"></i>
											<div class="layui-timeline-content layui-text">
												<div class="layui-timeline-title">
													<font class="p">应收：</font>
													<span style="float: right;  margin-right: 100px;">
														<i class="glyphicon glyphicon-yen"></i> <font id="yinshou"> </font>
													</span>

												</div>

											</div>
										</li>
										<li class="layui-timeline-item">
											<i class="layui-icon layui-anim layui-anim-rotate layui-anim-loop layui-timeline-axis"></i>
											<div class="layui-timeline-content layui-text">
												<div class="layui-timeline-title">
													<font class="p">付款中...</font>
													<span style="float: right;  margin-right: 100px;">
													
													请您选择以下付款方式付款
												</span>
												</div>

											</div>

										</li>
									</ul>
									<form class="layui-form">

										<div class="layui-inline">

											<input type="radio" name="pay" value="0" id="money" style="size: 10px;" title="" checked="checked">
											<img src="../images/xianjin.png" width="50" height="50">

										</div>

										<div class="layui-inline" style="float: right;  margin-right: 100px;">

											<input type="radio" name="pay" value="1" id="alipay" title="">
											<img src="../images/icon64_appwx_logo.png" width="50" height="50">

										</div>

									</form>
								</div>

							</div>

						</div>

					</div>
					<div class="modal-footer">
						<button type="button" class="layui-btn layui-btn-radius layui-btn-primary layui-icon layui-icon-close" data-dismiss="modal"></button>
						<button type="button" class="layui-btn layui-btn-radius" id="topay"><i class="glyphicon glyphicon-yen"></i><font id="gopay"></font>(元)</button>
					</div>
				</div>
			</div>
		</div>

		<div class="modal fade" tabindex="-1" id="zhifubaopay" role="dialog">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
						<h4 class="modal-title">支付宝结账</h4>
					</div>
					<div class="modal-body">

						<div id="output">

						</div>

					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
						<button type="button" class="btn btn-primary">Save changes</button>
					</div>
				</div>
				<!-- /.modal-content -->
			</div>
			<!-- /.modal-dialog -->
		</div>
		<!-- /.modal -->

		<div class="modal fade" tabindex="-1" id="xianjin" role="dialog">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
						<h4 class="modal-title">现金结账</h4>
					</div>
					<br />
					<div class="modal-body">
						<form class="layui-form">

							<ul class="layui-timeline" style="margin-left: 20%;">
								<li class="layui-timeline-item">
									<i class="layui-icon layui-timeline-axis"></i>
									<div class="layui-timeline-content layui-text">
										<h3 class="layui-timeline-title">
											应收：<font id="moneyys">(元)</font>
										</h3>

									</div>
								</li>
								<li class="layui-timeline-item">
									<i class="layui-icon layui-timeline-axis"></i>
									<div class="layui-timeline-content layui-text layui-form-item">
										<div class="layui-inline">
											<div class="layui-input-inline" style="width: 100px; height: 15px;">
												<h3 class="layui-timeline-title">
										                   实收金额：
										        </h3>
										    <input  type="text" name="username" style="height: 30px;position: relative;left: 90px;top: -35px;" id="shishou" lay-verify="required" placeholder="实收金额" autocomplete="off" class="layui-input"> 
											</div>
											</div>
											
										</div>

								</li>

								<li class="layui-timeline-item">
									<i class="layui-icon layui-anim layui-anim-rotate layui-anim-loop layui-timeline-axis"></i>
									<div class="layui-timeline-content layui-text">
										<h3 class="layui-timeline-title">找零：<font id="zhaoling"></font></h3>
									</div>
								</li>
							</ul>

						</form>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
						<button type="button" class="btn btn-primary" id="jiezhangpay">确定</button>
					</div>
				</div>
				<!-- /.modal-content -->
			</div>
			<!-- /.modal-dialog -->
		</div>
		<!-- /.modal -->
		
		<!--微信结账扫二维码-->
		<div class="modal fade" tabindex="-1" id="erweima" role="dialog">
			<div class="modal-dialog" role="document">
				<div class="modal-content" style="width: 400px;">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
						<h4 class="modal-title">微信结账</h4>
					</div>
					<br />
					<div class="modal-body">
						<img src="../assets/images/IMG_20190103_201308.JPG"/ height="200px" width="200px" style="position: relative;left: 75px;">
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
						<button type="button" class="btn btn-primary" id="weixin">确定</button>
					</div>
				</div>
				<!-- /.modal-content -->
			</div>
			<!-- /.modal-dialog -->
		</div>
		
		

		<div class="modal fade" tabindex="-1" id="m1" role="dialog">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
						<h5 class="modal-title" id="title1"></h5>
					</div>
					<div class="modal-body">
						<table id="t2">

						</table>

						<div><label style="color:#5fb8fc;">服药要求</label></div>
						<textarea style="border: 1px solid gainsboro; width: 565px; height: 60px;" id="use_tips" disabled="disabled" placeholder="填写医生建议（限500字）"></textarea>
						<div><label style="color:#5fb8fc;">中药备注</label></div>
						<textarea style="border: 1px solid gainsboro; width: 565px; height: 60px;" id="memo" disabled="disabled" placeholder="填写医生建议（限500字）"></textarea>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
						<button type="button" onclick="window.print();return false;" class="btn btn-primary">打印</button>
					</div>
				</div>
				<!-- /.modal-content -->
			</div>
			<!-- /.modal-dialog -->
		</div>
		<!-- /.modal -->
		<div class="modal fade" tabindex="-1" id="m2" role="dialog">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
						<h5 class="modal-title" id="title2"></h5>
					</div>
					<div class="modal-body">
						<div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
							<ul class="layui-tab-title">
								<li class="layui-this">信息概览</li>
								<li>订单列表</li>
							</ul>
							<div class="layui-tab-content">
								<div class="layui-tab-item layui-show">
									<ul class="layui-timeline">
										<li class="layui-timeline-item">
											<i class="layui-icon layui-timeline-axis"></i>
											<div class="layui-timeline-content layui-text">
												<div class="layui-timeline-title">
													<font class="p">总额：</font>
													<span>
														<i class="glyphicon glyphicon-yen"></i> <font id="jine"> </font>
													</span>
												</div>
											</div>
										</li>
										<li class="layui-timeline-item">
											<i class="layui-icon layui-timeline-axis"></i>
											<div class="layui-timeline-content layui-text">
												<div class="layui-timeline-title">
													<font class="p">时间：</font>
													<span>
														<font id="sj"></font>
													</span>
												</div>
											</div>
										</li>
										<li class="layui-timeline-item">
											<i class="layui-icon layui-timeline-axis"></i>
											<div class="layui-timeline-content layui-text">
												<div class="layui-timeline-title">
													<font class="p">状态：</font>
													<span>
														<font id="zt"> </font>
													</span>
												</div>
											</div>
										</li>
									</ul>
								</div>
								<div class="layui-tab-item">
									<ul class="layui-timeline" id="chuf">

									</ul>
								</div>
							</div>
						</div>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					</div>
				</div>
				<!-- /.modal-content -->
			</div>
			<!-- /.modal-dialog -->
		</div>
		<!-- /.modal -->

	</body>

</html>